<div>
    <table class="form-table" cellpadding=3>
    	<#list uniqueConfig as cur >
        	<tr>
            	<td>${cur.value}:</td>
            	<td>${entity.getUnique(cur.key)} </td>
        	</tr>
        </#list>
        <tr>
            <td>${action.getDatagridTitle('nickname')}:</td>
            <td>
	        	${entity.nickname?default('')}
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('realname')}:</td>
            <td>${entity.realname?default('')}</td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('type')}:</td>
            <td>
            		<#list types as type>
            		<#if entity.type.id== type.id>
            			${type.title}
            		</#if>
            		</#list>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('state')}:</td>
            <td>
            	<#list states as state>
            	<#if state.state == entity.state>
            	${action.getDatagridTitle('state.'+state.name())}
            	</#if>
            	</#list>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('email')}:</td>
            <td>${entity.email?default('')}</td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('mobile')}:</td>
            <td>${entity.mobile?default('')}</td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('sex')}:</td>
            <td>
           		<#list sexs as se >
           		<#if se.enumValue?number==entity.sex >
           			${se.enumTitle}
           		</#if>
           		</#list>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('birthday')}:</td>
            <td>${entity.birthday?default('')}</td>
        </tr>
        <#list currencyConfig as cur >
        	<tr>
            	<td>${cur.value}:</td>
            	<td>${entity.getCurrency(cur.key)}</td>
        	</tr>
        </#list>
        <#list extras as ex >
        	<tr>
            	<td>${ex.name}:</td>
            	<td>${entity.getExtraValue(ex.key)}</td>
        	</tr>
        </#list>
    </table>
</div>
